﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.Warehousies
{
    /// <summary>
    /// 仓库盘点
    /// </summary>
    [SugarTable("warehousecheckmodel", TableDescription = "仓库盘点")]
    public class Warehousecheckmodel:BaseEntity
    {
        /// <summary>
        /// 盘点编号
        /// </summary>
        public string Checkcode { get; set; }

        /// <summary>
        /// 盘点名称
        /// </summary>
        public string Checkname { get; set; }

        /// <summary>
        /// 盘点状态 
        /// 0=未开始 1=盘点中 2=已完成
        /// </summary>
        public string Checkstate { get; set; }

        /// <summary>
        /// 盘点日期
        /// </summary>
        public DateTime Checkdate { get; set; }

        /// <summary>
        /// 盘点仓库
        /// </summary>
        public long Warehouseid { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        public long Personnel { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }
    /// <summary>
    /// 盘点状态
    /// </summary>
    public enum Inventorystatus
    {
        未开始,
        盘点中,
        已完成,
    }
}
